package com.bear.cmcc.NetTestHTTP.component;

/**
 * 信息订阅工具。
 * @author suchangjun
 *
 */
public class InfoSubBean {
    
    
    private  String id;
    
    private String title;
    private String number;//数量
    private String message;
    private String flag;//是否订阅
    private String path;
    
    private int isAddChannel;// 是否管理频道模块
    
    public int getIsAddChannel() {
		return isAddChannel;
	}

	public void setIsAddChannel(int isAddChannel) {
		this.isAddChannel = isAddChannel;
	}

	public String getFlag() {
		return flag;
	}
    
	public String getNumber() {
		if(number==null){
			return "0";
		}else{
			return number;
		}
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
    
    public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public InfoSubBean() {
		super();
		// TODO Auto-generated constructor stub
	}
    

	public InfoSubBean(String id, String title, String message, String flag,
			String path) {
		super();
		this.id = id;
		this.title = title;
		this.message = message;
		this.flag = flag;
		this.path = path;
	}

	@Override
    public String toString() {
        return "InfoSubBean [id=" + id + ", title=" + title + ", message=" + message + "]";
    }
    
    
     

}
